<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<h2 class="contentTitle">表单验证</h2>
<div class="pageContent">

	<form method="post" action="${rootpath }/back/investor/updateInvestorSubmit.htm"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap" layoutH="97">intensive
			<dl>
				<dt>公司代码：</dt>
				<dd>
					<input type="text" name="code" class="required email" alt="请输入您的电子邮件" /> 
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>密码：</dt>
				<dd>
					<input id="w_validation_pwd" type="password" name="password" class="required alphanumeric" minlength="6" maxlength="20"
						alt="字母、数字、下划线 6-20位" /> 
						<span class="info">请填写密码</span>
				</dd>
			</dl>
			<dl>
				<dt>确认密码：</dt>
				<dd>
					<input type="password" name="repassword" class="required"
						equalto="#w_validation_pwd" /> <span class="info">请输入确认密码</span>
				</dd>
			</dl>
			<dl>
				<dt>电话：</dt>
				<dd>
					<input type="text" name="phone" class="phone" alt="请输入您的电话" /> 
					<span class="info">请填写手机号</span>
				</dd>
			</dl>
			<dl>
				<dt>qq：</dt>
				<dd>
					<input type="text" name="qq" alt="请输入您qq" /> 
					
				</dd>
			</dl>
			<dl>
				<dt>真实姓名：</dt>
				<dd>
					<input type="text" name="trueName" alt="请输入您的姓名" /> 
					
				</dd>
			</dl>
			<dl>
				<dt>状态</dt>
				<dd>
					<input type="radio" name="status" id="topValue1" value = "1"class="digits" /> <label  class="lab_float" for="topValue1">启用</label>
					<input type="radio" name="status" id="topValue2"value = "0"class="digits" />  <label  class="lab_float" for="topValue2">禁用</label>
				</dd>
			</dl>
			<dl>
				<dt>类别</dt>
				<dd>
					<input type="radio" name="coopType" id="topType" value = "1"class="digits" /> <label  class="lab_float" for="topType">启用</label>
					<input type="radio" name="coopType" id="topType2"value = "0"class="digits" />  <label  class="lab_float" for="topType2">禁用</label>
				</dd>
			</dl>
			<dl>
				<dt>上传：</dt>
				<dd>
					<p>
                    <input class="valid" name="file" type="file">
                    </p>	
				</dd>
			</dl>	
			<dl>
				<dt>内容：</dt>
				<dd>
					<div  name="context" class="pageFormContent" layoutH="158">
						<div class="unit">
							<textarea class="editor" name="description" rows="8" cols="100"
								upLinkUrl="upload.php" upLinkExt="zip,rar,txt" 
								upImgUrl="upload.php" upImgExt="jpg,jpeg,gif,png" 
								upFlashUrl="upload.php" upFlashExt="swf"
								upMediaUrl="upload.php" upMediaExt:"avi">
							</textarea>
						</div>	
				</dd>
			</dl>
			<div class="divider"></div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div>
				</li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
<script type="text/javascript">
	function customvalidXxx(element) {
		if ($(element).val() == "xxx")
			return false;
		return true;
	}
</script>
